<%@ page import="com.conversationboard.config.*" %>
<%@ page import="com.conversationboard.view.*" %>
<%@ page import="com.conversationboard.model.*" %>

<%@page pageEncoding="UTF-8"%>
<%@page contentType="text/html;charset=UTF-8"%>

<%@page import="com.conversationboard.controller.confirm.Confirm"%>
<html>

<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
	<title>Registration Page</title>
	<link rel="stylesheet" type="text/css" href="<%=Configuration.getInstance().getRoot()%>/Stylesheets/<%=StyleSheets.getStyleSheetFileName(request.getCookies())%>">
</head>

<body>

	<%= MainMenu.display(request.getUserPrincipal()) %>

	<div class="headingblock">
		<h1>Registration</h1>
	</div>

	<div class="mainblock">

		<p>Please enter the required details below:</p>

		<form class="formsection" action="<%=Configuration.getInstance().getRoot()%>/RegistrationControllerServlet" method="post">
		 	
		 	<label for="Name">Display Name (this cannot be changed):</label><br />
		 	<input name="name" class="smalltextbox" type="text" size=100 /><br /><br />
		 	<label for="userid">Email Address (<strong>Which is your login ID. This MUST be a real email address, as your password will be emailed to you.</strong>):</label><br />
		 	<input name="userid" class="smalltextbox" type="text" size=100 /><br /><br />

			<%= Confirm.getKey() %>

			Time zone:<br /> <%= TimeZoneDropDownDisplay.display(null) %><br /><br />

			<% if (Configuration.getInstance().isCaptchaEnabled()) { %>

				<img src="captcha.jpg"></img><br />
		
				<p><em>If you cannot read the above text, please refresh your browser and a new image
				       will be delivered</em></p>

			 	<label for="captcha">Enter what you see in the above image:</label><br />
			 	<input name="captcha" class="smalltextbox" type="text" size=100 /><br /><br />
				
				<br /><br />
			
			<% } %>

		 	<input type="submit" value="Submit" />
		 	<input type="reset" value="Clear" />
	
		</form>	
		
		<br />
		<p><span class='notworksafe'>Please note that it can sometimes take some time for your password to be delivered to you.</span></p>
		
	</div>

	<!--<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>-->
	<!--<script type="text/javascript">_uacct = "UA-1148679-1";urchinTracker();</script>--> 

</body>
</html>
